package com.ocm.pay.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author hqy
 * @Date 10/01/2022
 * @Description 用于提现操作
 */
@Data
public class WithdrawDTO {

	/*
	 * 银行卡主键
	 * */
	private Long cardId;
	/**
	 * 银行卡后四位
	 */
	private Long bankCard;
	/**
	 * 银行类型
	 */
	private String bankType;
	/**
	 * 银行卡类型
	 */
	private String cardType;


	/*
	 * 提现金额
	 * */
	@NotNull
	private BigDecimal withdrawAmount;

	/*
	 * 支付密码
	 * */
	@NotBlank
	private String payPassword;



}
